//
//  GWBaseViewController.h
//  shandsHotel
//
//  Created by zh_s on 2018/9/25.
//  Copyright © 2018年 zh_s. All rights reserved.
//

typedef NS_ENUM(NSInteger,NavigationType) {
    NavigationTypeNormal = 0,
    NavigationTypeLight = 1,
};

#import <UIKit/UIKit.h>
#import "GWNavigaitionView.h"
#import "LoadingView.h"

@interface GWBaseViewController : UIViewController

@property (nonatomic, strong) GWNavigaitionView *nav;

@property (nonatomic,copy)NSString *loadingTips;
@property (nonatomic,assign)CGFloat loadingTimeDelay;

@property (nonatomic,copy)NSString *navTitle;

@property (nonatomic,copy)NSString *leftTitle;

@property (nonatomic,copy)NSString *rightTitle;

@property (nonatomic,assign)BOOL isPresendeView;

@property (nonatomic,assign)NavigationType NavigationType;

@property (nonatomic,strong)UIView *titleView;

@property (nonatomic,copy)NSString *phoneStr;//手机号

@property (nonatomic,strong)UIColor *navBackgroundColor;

@property (nonatomic, strong) LoadingView *loading;
@property (nonatomic,assign)BOOL isShadow;

- (instancetype)initWithNavTitle:(NSString *)navTitle;


/**导航栏左侧按钮点击事件*/
- (void)leftViewClick;
/**导航栏右侧按钮点击事件*/
- (void)rightViewClick;

- (void)initNav;

/**将导航栏放到屏幕最前方，某些页面能用到*/
- (void)bringNavToFront;
@end
